<?php

class Config {

 public static function doDefinations() {
    // database connection


     // file structure

    define ('DIRSEP', DIRECTORY_SEPARATOR);
    define ('URLSEP', '/');
    $m_class_path = realpath(dirname(__FILE__));
    $m_arr_class_path = explode(DIRSEP, $m_class_path, -1);
    $m_class_file_path = implode(DIRSEP, $m_arr_class_path) . DIRSEP;

    $m_app_root_path = $_SERVER['PHP_SELF'];
    $m_arr_app_root_path = explode(URLSEP, $m_app_root_path, -1);
    $m_app_root_path = implode(URLSEP, $m_arr_app_root_path) . URLSEP;
    $m_css_path = 'css' . URLSEP;

    define ('CLASS_PATH', $m_class_file_path);
    define ('APP_ROOT_PATH', $m_app_root_path);

 }
}